#pragma once

#include <memory>
#include "rtda/frame.h"
#include "instructions/base/instructions.h"

namespace jvm {
namespace instructions {

// Pop the top operand stack value
class POP : public NoOperandsInstruction {
public:
    void execute(std::shared_ptr<rtda::Frame> frame) override;
};

// Pop the top one or two operand stack values
class POP2 : public NoOperandsInstruction {
public:
    void execute(std::shared_ptr<rtda::Frame> frame) override;
};

} // namespace instructions
} // namespace jvm